/**
 * 
 */
package name.yzhu.httpserver.handle;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author yhzhu
 *
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RequestParamAnno {
	/**
	 * request parameter name
	 * @return
	 */
	String name() default "";
	/**
	 * request type :
	 * 1: get
	 * 2: post
	 * 3: put
	 * 4: delete
	 * muti-type is separated by comma,
	 * @return
	 */
	String type() default "1";
}
